import HttpModel from '../../../models/http';
import modelExtend from '../../../utils/modelExtend';

let vehicleInfoQuery = { 
    namespace: 'vehicleInfoQuery',
    state: {
        vehicleInfo: {}
    },

    effects: {
        *setVehicleInfo({ payload, callback }, { call, put }) {
            yield put({ type: 'req', payload });
          },
    }

 };
vehicleInfoQuery = modelExtend(HttpModel, vehicleInfoQuery);
export default vehicleInfoQuery;